<?php /* Smarty version 2.6.18, created on 2010-08-27 15:43:02
         compiled from admin/alumni/career/list_industry.tpl */ ?>
<form name="frmListIndustry" id="frmListIndustry">
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
    <tr>
        <th width="15">#</th>
        <th>Industry name</th>
    </tr>
    <?php $_from = $this->_tpl_vars['arrIndustry']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameIndustry'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameIndustry']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyIndustry'] => $this->_tpl_vars['itemIndustry']):
        $this->_foreach['nameIndustry']['iteration']++;
?>
    <tr>
        <td><?php echo $this->_tpl_vars['keyIndustry']+1; ?>
</td>
        <td>
        	<input type="text" size="70" name="industry_name_<?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
" id="industry_name_<?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
" value="<?php echo $this->_tpl_vars['itemIndustry']['industry_name']; ?>
" />
        	<input type="button" value=" Update " onclick="javascript:updateIndustry(this, <?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
)" name="btnUpdate<?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
" id="btnUpdate<?php echo $this->_tpl_vars['itemIndustry']['id']; ?>
" />
        </td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
</table>
</form>
<form name="frmAddIndustry" id="frmAddIndustry" onsubmit="return checkFrmAddIndustry(this)">
<table border="0" cellpadding="2" cellspacing="1">
	<tr>
  	<td>
    	Industry name: <input type="text" name="industry_name" id="industry_name" value="" size="50" />
      <input type="submit" name="btnAddIndustry" id="btnAddIndustry" value=" Add " />
    </td>
  </tr>
</table>
</form>